package com.zsy.petshop_01.service;

import com.zsy.petshop_01.common.result.ResponseResult;
import com.zsy.petshop_01.model.entity.LoginInfo;

import javax.servlet.http.HttpServletRequest;

public interface UserService {
    ResponseResult<?> Login(LoginInfo loginInfo);

    ResponseResult<?> Register(LoginInfo loginInfo);

    ResponseResult<?> selectAllUser();

    ResponseResult<?> delateByName(LoginInfo loginInfo);

    ResponseResult<?> setVIP(LoginInfo loginInfo);

    ResponseResult<?> verifyVIP(HttpServletRequest request);

    ResponseResult<?> verifyOwner(HttpServletRequest request);
}
